package edu.wit.system.service.impl;

import edu.wit.common.db.service.impl.BaseServiceImpl;
import edu.wit.system.domain.AffairsWorkflowNode;
import edu.wit.system.mapper.AffairsWorkflowNodeMapper;
import edu.wit.system.service.AffairsWorkflowNodeService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("affairsWorkflowNodeService")
public class AffairsWorkflowNodeServiceImpl extends BaseServiceImpl<AffairsWorkflowNodeMapper, AffairsWorkflowNode> implements AffairsWorkflowNodeService {

	@Override
	public void deleteByWorkflowId(Long workflowId) {
		baseMapper.deleteByWorkflowId(workflowId);
	}
	
	@Override
	public List<AffairsWorkflowNode> getListByWorkflowId(Long workflowId) {
		return baseMapper.getListByWorkflowId(workflowId);
	}
	
}